<style type="text/css">
    #ajaxModal{z-index: 799!important;}
</style>
<form class="form-horizontal form-validate" action="{php echo web_url('wxchannels/channelweb/addgoodsapi',['id'=>$id,'type' => $type])}" method="post" enctype="multipart/form-data">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button data-dismiss="modal" class="close" type="button">×</button>
                <h4 class="modal-title">上传商品至交易组件</h4>
            </div>
            <div class="modal-body form-horizontal">
                <div class="form-group">
                    <div class="col-sm-2 control-label">三级类目id</div>
                    <div class="col-sm-9">
                        <input type="number" class="form-control" value="{$third_cat_id}" placeholder="请输入三级类目id" name="third_cat_id" />
                    </div>
                </div>
<!--                <div class="form-group">-->
<!--                    <div class="col-sm-2 control-label">分类排序</div>-->
<!--                    <div class="col-sm-9">-->
<!--                        <input class="form-control" placeholder="请输入分类排序" name="data[sort]" value="{$info['sort']}" />-->
<!--                    </div>-->
<!--                </div>-->
            </div>
            <div class="modal-footer">
                <input type="hidden" name="product_id" value="{$product_id}">
                <button class="btn btn-primary" type="submit">提交</button>
                <button data-dismiss="modal" class="btn btn-default" type="button">取消</button>
            </div>
        </div>
    </div>
</form>
